class Yeye:
    def eat(self):
        print("吃酒")


class Laolao:
    def eat(self):
        print("吃茶")


class Baba(Yeye):
    def work(self):
        print("努力工作")

    def eat(self):
        print("吃核桃")


class Mama(Laolao):
    def cooking(self):
        print('做饭')

    # def eat(self):
    #     print("吃荔枝")


class Zinv(Mama, Baba):
    pass


zinv = Zinv();
zinv.work()
zinv.cooking()
zinv.eat()
